export default [
  {
    path: '/',
    component: () => import('@/pages/home/index.vue'),
    children: [
      {
        path: '/',
        name: 'Home',
        component: () => import('@/pages/home/components/Notice.vue'),
        meta: {
          title: '首页'
        }
      },
      {
        path: '/noticeDetail',
        name: 'NoticeDetail',
        component: () => import('@/pages/home/components/NoticeDetail.vue'),
        meta: {
          title: '公告详情'
        }
      },
      {
        path: '/appoiment',
        name: 'Appoiment',
        component: () => import('@/pages/home/components/Appoiment.vue'),
        meta: {
          title: '预约'
        }
      },
      {
        path: '/historyAppoiment',
        name: 'HistoryAppoiment',
        component: () => import('@/pages/home/components/HistoryAppoiment.vue'),
        meta: {
          title: '历史预约'
        }
      },
      {
        path: '/queryResult',
        name: 'QueryResult',
        component: () => import('@/pages/home/components/QueryResult.vue'),
        meta: {
          title: '检测结果查询'
        }
      }
    ]
  }
];
